package com.ss.test11;

import java.util.Map;
import java.util.TreeMap;

/**
 * @Auther: 520ljs
 * @Date: 2022/3/17 - 03 - 17 - 21:44
 */
public class Test03 {
    //这是一个main方法，是程序的入口
    public static void main(String[] args) {
        Map<Student,Integer> map = new TreeMap<>();
        map.put(new Student(19,"alili",170.5),1001);
        map.put(new Student(19,"blili",160.5),1452);
        map.put(new Student(19,"clili",167.5),1631);
        map.put(new Student(19,"dlili",163.5),1184);
        map.put(new Student(19,"blili",169.5),1025);
        System.out.println(map.size());
        System.out.println(map);
    }
}
